/*
 * Copyright ? 2019 - 2020 laidian Group All rights reserved.
 */

package com.yao.activiti.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * ACT_RE_PROCDEF.
 *
 * @author  autoCode
 * @version 1.0.3
 * @date    2020-01-08 03:00:28
 */
@TableName("ACT_RE_PROCDEF")
public class ReProcdef implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * id.
   */
//    @TableField("`ID_`")
    @TableId("`ID_`")
    private String id;

  /**
   * rev.
   */
    @TableField("`REV_`")
    private Integer rev;

  /**
   * category.
   */
    @TableField("`CATEGORY_`")
    private String category;

  /**
   * name.
   */
    @TableField("`NAME_`")
    private String name;

  /**
   * key.
   */
    @TableField("`KEY_`")
    private String key;

  /**
   * version.
   */
    @TableField("`VERSION_`")
    private Integer version;

  /**
   * deploymentId.
   */
    @TableField("`DEPLOYMENT_ID_`")
    private String deploymentId;

  /**
   * resourceName.
   */
    @TableField("`RESOURCE_NAME_`")
    private String resourceName;

  /**
   * dgrmResourceName.
   */
    @TableField("`DGRM_RESOURCE_NAME_`")
    private String dgrmResourceName;

  /**
   * description.
   */
    @TableField("`DESCRIPTION_`")
    private String description;

  /**
   * hasStartFormKey.
   */
    @TableField("`HAS_START_FORM_KEY_`")
    private Integer hasStartFormKey;

  /**
   * hasGraphicalNotation.
   */
    @TableField("`HAS_GRAPHICAL_NOTATION_`")
    private Integer hasGraphicalNotation;

  /**
   * suspensionState.
   */
    @TableField("`SUSPENSION_STATE_`")
    private Integer suspensionState;

  /**
   * tenantId.
   */
    @TableField("`TENANT_ID_`")
    private String tenantId;

  /**
   * engineVersion.
   */
    @TableField("`ENGINE_VERSION_`")
    private String engineVersion;


  /**
   * 设置id.
   *
   * @param id id
   */
  public void setId(String id) {
    this.id = id;
  }

  /**
   * 获取id.
   *
   * @return id  id
   */
  public String getId() {
    return this.id;
  }

  /**
   * 设置rev.
   *
   * @param rev rev
   */
  public void setRev(Integer rev) {
    this.rev = rev;
  }

  /**
   * 获取rev.
   *
   * @return rev  rev
   */
  public Integer getRev() {
    return this.rev;
  }

  /**
   * 设置category.
   *
   * @param category category
   */
  public void setCategory(String category) {
    this.category = category;
  }

  /**
   * 获取category.
   *
   * @return category  category
   */
  public String getCategory() {
    return this.category;
  }

  /**
   * 设置name.
   *
   * @param name name
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * 获取name.
   *
   * @return name  name
   */
  public String getName() {
    return this.name;
  }

  /**
   * 设置key.
   *
   * @param key key
   */
  public void setKey(String key) {
    this.key = key;
  }

  /**
   * 获取key.
   *
   * @return key  key
   */
  public String getKey() {
    return this.key;
  }

  /**
   * 设置version.
   *
   * @param version version
   */
  public void setVersion(Integer version) {
    this.version = version;
  }

  /**
   * 获取version.
   *
   * @return version  version
   */
  public Integer getVersion() {
    return this.version;
  }

  /**
   * 设置deploymentId.
   *
   * @param deploymentId deploymentId
   */
  public void setDeploymentId(String deploymentId) {
    this.deploymentId = deploymentId;
  }

  /**
   * 获取deploymentId.
   *
   * @return deploymentId  deploymentId
   */
  public String getDeploymentId() {
    return this.deploymentId;
  }

  /**
   * 设置resourceName.
   *
   * @param resourceName resourceName
   */
  public void setResourceName(String resourceName) {
    this.resourceName = resourceName;
  }

  /**
   * 获取resourceName.
   *
   * @return resourceName  resourceName
   */
  public String getResourceName() {
    return this.resourceName;
  }

  /**
   * 设置dgrmResourceName.
   *
   * @param dgrmResourceName dgrmResourceName
   */
  public void setDgrmResourceName(String dgrmResourceName) {
    this.dgrmResourceName = dgrmResourceName;
  }

  /**
   * 获取dgrmResourceName.
   *
   * @return dgrmResourceName  dgrmResourceName
   */
  public String getDgrmResourceName() {
    return this.dgrmResourceName;
  }

  /**
   * 设置description.
   *
   * @param description description
   */
  public void setDescription(String description) {
    this.description = description;
  }

  /**
   * 获取description.
   *
   * @return description  description
   */
  public String getDescription() {
    return this.description;
  }

  /**
   * 设置hasStartFormKey.
   *
   * @param hasStartFormKey hasStartFormKey
   */
  public void setHasStartFormKey(Integer hasStartFormKey) {
    this.hasStartFormKey = hasStartFormKey;
  }

  /**
   * 获取hasStartFormKey.
   *
   * @return hasStartFormKey  hasStartFormKey
   */
  public Integer getHasStartFormKey() {
    return this.hasStartFormKey;
  }

  /**
   * 设置hasGraphicalNotation.
   *
   * @param hasGraphicalNotation hasGraphicalNotation
   */
  public void setHasGraphicalNotation(Integer hasGraphicalNotation) {
    this.hasGraphicalNotation = hasGraphicalNotation;
  }

  /**
   * 获取hasGraphicalNotation.
   *
   * @return hasGraphicalNotation  hasGraphicalNotation
   */
  public Integer getHasGraphicalNotation() {
    return this.hasGraphicalNotation;
  }

  /**
   * 设置suspensionState.
   *
   * @param suspensionState suspensionState
   */
  public void setSuspensionState(Integer suspensionState) {
    this.suspensionState = suspensionState;
  }

  /**
   * 获取suspensionState.
   *
   * @return suspensionState  suspensionState
   */
  public Integer getSuspensionState() {
    return this.suspensionState;
  }

  /**
   * 设置tenantId.
   *
   * @param tenantId tenantId
   */
  public void setTenantId(String tenantId) {
    this.tenantId = tenantId;
  }

  /**
   * 获取tenantId.
   *
   * @return tenantId  tenantId
   */
  public String getTenantId() {
    return this.tenantId;
  }

  /**
   * 设置engineVersion.
   *
   * @param engineVersion engineVersion
   */
  public void setEngineVersion(String engineVersion) {
    this.engineVersion = engineVersion;
  }

  /**
   * 获取engineVersion.
   *
   * @return engineVersion  engineVersion
   */
  public String getEngineVersion() {
    return this.engineVersion;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("id",getId())
        .append("rev",getRev())
        .append("category",getCategory())
        .append("name",getName())
        .append("key",getKey())
        .append("version",getVersion())
        .append("deploymentId",getDeploymentId())
        .append("resourceName",getResourceName())
        .append("dgrmResourceName",getDgrmResourceName())
        .append("description",getDescription())
        .append("hasStartFormKey",getHasStartFormKey())
        .append("hasGraphicalNotation",getHasGraphicalNotation())
        .append("suspensionState",getSuspensionState())
        .append("tenantId",getTenantId())
        .append("engineVersion",getEngineVersion())
        .toString();
  }
}

